﻿@model dynamic
<div class="traditional-container">
    <h1>@Html.TitleForPage(T("Change Password").ToString()) </h1>
    <p>@T("Use the form below to change your password.")</p>
    <p>@T("New passwords are required to be a minimum of {0} characters in length.", ViewData["PasswordLength"]) </p>
    @Html.ValidationSummary(T("Password change was unsuccessful. Please correct the errors and try again.").ToString())
    @using (Html.BeginFormAntiForgeryPost()) { 
        <fieldset>
            <legend>@T("Account Information")</legend>
            <div>
                <label for="newPassword">@T("New password:")</label>
                @Html.Password("newPassword") 
                @Html.ValidationMessage("newPassword") 
            </div>
            <div>
                <label for="confirmPassword">@T("Confirm new password:")</label>
                @Html.Password("confirmPassword") 
                @Html.ValidationMessage("confirmPassword") 
            </div>
            <div>
                <button class="primaryAction" type="submit">@T("Change Password")</button>
            </div>
        </fieldset>
     } 
</div>